/**
 */
package base.impl;

import base.Action;
import base.Actuator;
import base.Arbiter;
import base.BasePackage;
import base.Mission;
import base.Sensor;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EClass;

import org.eclipse.emf.internal.cdo.CDOObjectImpl;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model object '<em><b>Mission</b></em>'.
 * <!-- end-user-doc -->
 * <p>
 * The following features are implemented:
 * <ul>
 *   <li>{@link base.impl.MissionImpl#getListeCapteur <em>Liste Capteur</em>}</li>
 *   <li>{@link base.impl.MissionImpl#getArbitre <em>Arbitre</em>}</li>
 *   <li>{@link base.impl.MissionImpl#getListeMoteur <em>Liste Moteur</em>}</li>
 *   <li>{@link base.impl.MissionImpl#getDescription <em>Description</em>}</li>
 *   <li>{@link base.impl.MissionImpl#getActionsPossibles <em>Actions Possibles</em>}</li>
 * </ul>
 * </p>
 *
 * @generated
 */
public class MissionImpl extends CDOObjectImpl implements Mission {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected MissionImpl() {
		super();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected EClass eStaticClass() {
		return BasePackage.Literals.MISSION;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected int eStaticFeatureCount() {
		return 0;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public EList<Sensor> getListeCapteur() {
		return (EList<Sensor>)eGet(BasePackage.Literals.MISSION__LISTE_CAPTEUR, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public Arbiter getArbitre() {
		return (Arbiter)eGet(BasePackage.Literals.MISSION__ARBITRE, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setArbitre(Arbiter newArbitre) {
		eSet(BasePackage.Literals.MISSION__ARBITRE, newArbitre);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public EList<Actuator> getListeMoteur() {
		return (EList<Actuator>)eGet(BasePackage.Literals.MISSION__LISTE_MOTEUR, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getDescription() {
		return (String)eGet(BasePackage.Literals.MISSION__DESCRIPTION, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setDescription(String newDescription) {
		eSet(BasePackage.Literals.MISSION__DESCRIPTION, newDescription);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public EList<Action> getActionsPossibles() {
		return (EList<Action>)eGet(BasePackage.Literals.MISSION__ACTIONS_POSSIBLES, true);
	}

} //MissionImpl
